package com.mall.service;

import com.github.pagehelper.PageInfo;
import com.mall.common.ServerResponse;
import com.mall.pojo.MmallShipping;

public interface IShippingService {

	ServerResponse insert(Integer id, MmallShipping shipping);

	ServerResponse delete(Integer userId, Integer shippingId);

	ServerResponse update(Integer userId, MmallShipping shipping);

	ServerResponse selectByUserIdShippingId(Integer userId, Integer shippingId);

	ServerResponse<PageInfo> list(Integer userId, Integer pageNum, Integer pageSize);
	 	   
}
